package lp.xian.materials.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存商品对象 lp_warehouse_stock_tb
 *
 * @author ruoyi
 * @date 2023-08-18
 */
@Data
public class Stock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库商品id */
    private Integer warehouseStockTbId;

    /** 库存id */
    @Excel(name = "库存id")
    private Integer warehouseStockId;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String warehouseStockPo;

    /** 库存名称 */
    @Excel(name = "库存名称")
    private String warehouseStockName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String warehouseStockSpeion;



    /** 主计量单位 */
    @Excel(name = "主计量单位")
    private String warehouseStockUnit;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Integer warehouseStockNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal warehouseStockPrice;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal warehouseStockTotalPrice;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal warehouseStockTaxPrice;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private BigDecimal warehouseStockUnitTotalPrice;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

                .append("warehouseStockSpeion", getWarehouseStockSpeion())
                .append("warehouseStockTbId", getWarehouseStockTbId())
                .append("warehouseStockId", getWarehouseStockId())
                .append("warehouseStockPo", getWarehouseStockPo())
                .append("warehouseStockName", getWarehouseStockName())
                .append("warehouseStockUnit", getWarehouseStockUnit())
                .append("warehouseStockNum", getWarehouseStockNum())
                .append("warehouseStockPrice", getWarehouseStockPrice())
                .append("warehouseStockTotalPrice", getWarehouseStockTotalPrice())
                .append("warehouseStockTaxPrice", getWarehouseStockTaxPrice())
                .append("warehouseStockUnitTotalPrice", getWarehouseStockUnitTotalPrice())
                .toString();
    }
}
